/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hydms.registration.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hydms.registration.entity.DmsRegistration;
import com.thinkgem.jeesite.modules.hydms.registration.dao.DmsRegistrationDao;

/**
 * 报修登记Service
 * @author 刘健
 * @version 2017-04-05
 */
@Service
@Transactional(readOnly = true)
public class DmsRegistrationService extends CrudService<DmsRegistrationDao, DmsRegistration> {

	public DmsRegistration get(String id) {
		return super.get(id);
	}
	
	public List<DmsRegistration> findList(DmsRegistration dmsRegistration) {
		return super.findList(dmsRegistration);
	}
	
	public Page<DmsRegistration> findPage(Page<DmsRegistration> page, DmsRegistration dmsRegistration) {
		return super.findPage(page, dmsRegistration);
	}
	
	@Transactional(readOnly = false)
	public void save(DmsRegistration dmsRegistration) {
		super.save(dmsRegistration);
	}
	
	@Transactional(readOnly = false)
	public void delete(DmsRegistration dmsRegistration) {
		super.delete(dmsRegistration);
	}
	
}